#include <mono/event/timer_task.h>


namespace mono {
	
std::atomic<int64_t> TimerTask::_gTimerNum;

void TimerTask::restart(const mono::Timestamp &now)
{
  if (_repeat) {
    _expiration = now + _interval;
  } else {
    _expiration = mono::Timestamp();
  }
}


}
